package com.yanqu.road.entity.assistant;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.DataStatus;

/**
 * 玩家美女皮肤信息
 */
@FieldTypeAnnotation(tableName = "t_u_assistant_body_skin")
public class AssistantBodySkin extends DataObject {
    @FieldTypeAnnotation(desc = "用户id", select = true, update = true)
    private long userId;
    @FieldTypeAnnotation(desc = "角色id")     //不一定有用 留着
    private int characterId;
    @FieldTypeAnnotation(desc = "上衣id")
    private int clothesId;
    @FieldTypeAnnotation(desc = "下装id")
    private int pantsId;
    @FieldTypeAnnotation(desc = "足部id")
    private int footId;
    @FieldTypeAnnotation(desc = "头部id")
    private int headId;
    @FieldTypeAnnotation(desc = "脸部id")
    private int faceId;
    @FieldTypeAnnotation(desc = "手部id")
    private int handId;
    @FieldTypeAnnotation(desc = "挂饰id")
    private int otherId;

    private int desktopId;          //入口形象编号

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        if (this.userId != userId) {
            this.userId = userId;
            setUpdateOption();
        }
    }

    public int getCharacterId() {
        return characterId;
    }

    public void setCharacterId(int characterId) {
        if (this.characterId != characterId) {
            this.characterId = characterId;
            setUpdateOption();
        }
    }

    public int getClothesId() {
        return clothesId;
    }

    public void setClothesId(int clothesId) {
        if (this.clothesId != clothesId) {
            this.clothesId = clothesId;
            setUpdateOption();
        }
    }

    public int getPantsId() {
        return pantsId;
    }

    public void setPantsId(int pantsId) {
        if (this.pantsId != pantsId) {
            this.pantsId = pantsId;
            setUpdateOption();
        }
    }

    public int getFootId() {
        return footId;
    }

    public void setFootId(int footId) {
        if (this.footId != footId) {
            this.footId = footId;
            setUpdateOption();
        }
    }

    public int getHeadId() {
        return headId;
    }

    public void setHeadId(int headId) {
        if (this.headId != headId) {
            this.headId = headId;
            setUpdateOption();
        }
    }


    public int getFaceId() {
        return faceId;
    }

    public void setFaceId(int faceId) {
        if (this.faceId != faceId) {
            this.faceId = faceId;
            setUpdateOption();
        }
    }

    public int getHandId() {
        return handId;
    }

    public void setHandId(int handId) {
        if (this.handId != handId) {
            this.handId = handId;
            setUpdateOption();
        }
    }

    public int getOtherId() {
        return otherId;
    }

    public void setOtherId(int otherId) {
        if (this.otherId != otherId) {
            this.otherId = otherId;
            setUpdateOption();
        }
    }

    public int getDesktopId() {
        return desktopId;
    }

    public void setDesktopId(int desktopId) {
        if(this.desktopId != desktopId) {
            this.desktopId = desktopId;
            setUpdateOption();
        }
    }

    public AssistantBodySkin() {
    }

    public AssistantBodySkin(int characterId, int headId, int faceId, int clothesId, int pantsId, int footId, int handId, int otherId, int desktopId) {
        this.characterId = characterId;
        this.headId = headId;
        this.faceId = faceId;
        this.clothesId = clothesId;
        this.pantsId = pantsId;
        this.footId = footId;
        this.handId = handId;
        this.otherId = otherId;
        this.desktopId = desktopId;
    }
}
